package com.fkdx.dao.mapper;

import com.fkdx.dao.condition.PermissionCondition;
import com.fkdx.dao.entity.Permission;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository()
public interface PermissionMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    Permission selectByPrimaryKey(Long id);

    int updateByPrimaryKey(Permission record);
    
    int updateSelective(Permission record);

    List<Permission> selectAll(PermissionCondition condition);

    int updateByIds(@Param("ids") List<Long> ids);

    List<Permission> queryList(PermissionCondition condition);
}
